
let children = [
    {path: '/index', name: 'Index', component: () => import('@/views/Base/Index'), meta: {title: '首页'}},
    {path: '/login', name: 'Login', component: () => import('@/views/Base/Login'), meta: {title: '登录'}},
    {path: '/register', name: 'Register', component: () => import('@/views/Base/Register'), meta: {title: '注册'}},
    {path: '/profile', name: 'Profile', component: () => import('@/views/Base/Profile'), meta: {title: '基本信息'}},
    {path: '/error/404', name: 'Error404', component: () => import('@/views/Base/404'), meta: {title: '404'}},
    {path: '*', redirect: {name: 'Index'}}
];

export default [
    {
        path: '/',
        name: 'Base',
        component: () => import('@/components/layout/Base/BaseLayout'),
        children
    }
];